home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / vdig sample / DIGIUtils.h < prev    next >
C/C++ Source or Header  |  1991-05-02  |  2KB  |  67 lines

  1. /*
  2.     File:        DIGIUtils.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    xxx put writers here xxx
  7.  
  8.     Copyright:    © 1991 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     This file is used in these builds: Warhol
  11.  
  12.     Change History (most recent first):
  13.  
  14.          <6>      5/2/91    CK        Add RectLocalToGlobal and RectGlobalToLocal
  15.          <5>     4/17/91    CK        Remove CalculateScale, use new warhol header
  16.          <4>     3/26/91    CK        Replace GlobalToVideoDigitizer with ValidatePixMap routine,
  17.                                     remove the flipping routines and replace with
  18.                                     UpdateVDDestination.
  19.          <3>     2/24/91    CK        Add CalculateScale prototype.
  20.          <2>     2/13/91    CK        Change to Warhol matrix stuff, Add SetIdentity
  21.  
  22.     To Do:
  23. */
  24.  
  25. /* Digitizer Utilities DIGIUtils.h */
  26.  
  27. /* 
  28.     File name:     DIGIUtils.h 
  29.     Function:    Header file for some useful digitizer Utilities
  30.     History:    1/30/91    New today
  31.                 
  32.     To do:
  33.         
  34. */
  35.  
  36.  
  37. #ifndef _DIGIUtils_
  38. #define    _DIGIUtils_
  39.  
  40. #ifndef _MoviesTypes_
  41.     #include "Matrix.h"
  42. #endif
  43.  
  44. #ifdef __cplusplus
  45. extern "C"{
  46. #endif
  47.  
  48. typedef MatrixRecord *MatrixPtr;
  49.  
  50. pascal void ValidatePixMap(PixMapHandle *pm, Rect *r, short *tx, short *ty);
  51.  
  52. pascal WindowPtr GetNewVWindow(short windowID, Ptr wStorage, WindowPtr behind);
  53. pascal void DragVideoWindow(WindowPtr theWindow, Point startPt, Rect *dragRect);
  54.  
  55. pascal void GrowVideoWindow(WindowPtr theWindow, Point startPt);
  56. pascal void DisposeVideoWindow(WindowPtr theWindow);
  57. pascal void MoveVideoWindow(WindowPtr theWindow, short h, short v, Boolean front);
  58. pascal long    UpdateVDDestination( WindowPtr theWindow );
  59. void RectLocalToGlobal(Rect *r);
  60. void RectGlobalToLocal(Rect *r);
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65.  
  66. #endif    _DIGIUtils_
  67.